<script setup lang='ts'>
defineProps({
  disabled: {
    type: Boolean,
    default: false,
  },
})
defineEmits(['confirm', 'cancel'])
</script>

<template>
  <div class="dialog-footer">
    <el-button @click="$emit('cancel')">
      取 消
    </el-button>
    <el-button type="primary" :disabled="disabled" @click="$emit('confirm')">
      确 定
    </el-button>
  </div>
</template>

<style scoped lang='scss'>

</style>
